package com.headFirstModel.factoryPattern.abstractFactory.ny;

import com.headFirstModel.factoryPattern.abstractFactory.Dough;
import com.headFirstModel.factoryPattern.abstractFactory.PizzaIngredientFactory;

/**
 * 纽约原料工厂
 */
public class NYPizzaIngredientFactory implements PizzaIngredientFactory{
    @Override
    public Dough createDough() {
        return new ThinCrustDough();
    }
}
